package com.css.fxfzysx.modules.vaolEngineering.repository;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxDevicesEntity;
import com.css.fxfzysx.modules.lifeline.vo.basic.DestructiveStateVo;
import com.css.fxfzysx.modules.vaolEngineering.entity.newEntity.CztSmxDevicesValueEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.DevicesParam;

import java.util.List;

public interface CeVulnerabilityRepository {
    boolean saveDevices(SmxDevicesEntity entity);

    List<SmxDevicesEntity> getByVersionId(String id);

    void saveDevicesValue(CztSmxDevicesValueEntity entity);

    SmxDevicesEntity getByTableId(String id);

    List<CztSmxDevicesValueEntity> getValueByDevicesId(String id);

    SmxDevicesEntity getById(String id);

    void updateDevicesById(DevicesParam devicesParam);

    DestructiveStateVo getByBasicInfo(SmxDevicesEntity smxDevicesEntity);
}
